<?php
$previewFileName=$_GET["imageId"];
$videoFileName=$_GET["videoId"];
//function loadVideoInformation($previewFileName,$videoFileName){
$img = '../../images/'.$previewFileName;
$video='../../films/'.$videoFileName;
//}
?>
<html>
<head>
<title> Prova Player con parametri personalizzati</title>
</head>

<body>
<center>
<div id="mediaplayer" width='800px' height='600px'>JW Player</div>
</center>
	<script type="text/javascript" src="../player/jwplayer.js"></script>
	<script type="text/javascript">
		jwplayer("mediaplayer").setup({
			flashplayer: "../../player/player.swf",
			file: <?php echo '"'.$video.'",'?>
			image:<?php echo '"'.$img.'"'?>
		});
	</script>
</body>
</html>